package com.personal.common.constant;

/**
 * 数据源配置常量
 */
public class DataSourceConstant {

    public static final String BASE_BASEPACKAGES;
    public static final String BASE_MAPPER;

    //接口路径
    public static final String IVOS_MGMT_BASEPACKAGES;
    public static final String IVOS_AUTH_BASEPACKAGES;
    public static final String ICP_BASEPACKAGES;

    //mapper路径
    public static final String IVOS_MGMT_MAPPER;
    public static final String IVOS_AUTH_MAPPER;
    public static final String ICP_MAPPER;

    static {
        BASE_BASEPACKAGES = "com.personal.dao";
        BASE_MAPPER = "classpath:/mybatis/mapper/";
        IVOS_MGMT_BASEPACKAGES = BASE_BASEPACKAGES + "mgmt";
        IVOS_AUTH_BASEPACKAGES = BASE_BASEPACKAGES + "auth";
        ICP_BASEPACKAGES = BASE_BASEPACKAGES + "icp";
        IVOS_MGMT_MAPPER = BASE_MAPPER + "mgmt/*.xml";
        IVOS_AUTH_MAPPER = BASE_MAPPER + "auth/*.xml";
        ICP_MAPPER = BASE_MAPPER + "icp/*.xml";
    }
}
